import { knowledgeService } from '@/utils/request'

//知识库智能检索列表
export function knowledgeSearchList(params) {
    return knowledgeService({
        url: '/api/file/searchFile',
        method: 'post',
        data: params
    })
}
//获取库列表
export function knowledgeGetRepoList(params) {
    return knowledgeService({
        url: '/api/repo/getRepoList',
        method: 'post',
        data: params
    })
}

//获取公司组织架构信息 （来源部门）
export function knowledgeGetCompanyInfo(params) {
    return knowledgeService({
        url: '/api/common/getCompanyInfo',
        method: 'post',
        data: params
    })
}
//获取知识分类
export function knowledgeGetCategory(params) {
    return knowledgeService({
        url: '/api/category/get_category',
        method: 'post',
        data: params
    })
}

//获取标签列表
export function knowledgeGetTags(params) {
    return knowledgeService({
        url: '/api/tag/get_tag',
        method: 'post',
        data: params
    })
}



